<script type="text/template" id="class-avatar-template">
    <input type="hidden" name="pic" value="{{pic}}">
    <img src="{{pic}}" alt="">
</script>